import pytest
from common.log import log
import os

if __name__ == "__main__":
    log.info("开始执行自动化测试")
    pytest.main()
    os.system("allure generate ./allure-data -o ./report --clean")
    log.info("自动化测试结束")
    